package com.lzs.DAO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.lzs.PO.Area;

public interface AreaDAO {

	public List<Area> findAreaList(@Param("keyword") String keyword);

	public List<Area> findAreaPagelist(@Param("keyword") String keyword, @Param("startIndex") int startIndex,
			@Param("pageSize") Integer pageSize);

	public List<Area> queryChildAreas(@Param("father_id")String father_id);

	public long countAreaById(String area_id);

	public void addArea(Map<String, Object> map);

	public Area selectAreaById(@Param("area_id")String area_id);

	public Area findFatherAreaById(@Param("father_id")String father_id);

	public void updateArea(Map<String, Object> map);

	public void deleteArea(@Param("area_id")String area_id);

	public List<Area> selectChildrenAreaById(@Param("area_id")String area_id);

	public Area findAreaById(@Param("area_id")String area_id);

	public List<Area> findAreaOfAll();

	public List<Area> findAreaWithCounty();


}
